package java68_8;

public class GuzhengTest {
    public static void main(String[] args) {
        //Scanner input=new Scanner(System.in);

        Guzheng v=new Guzheng();
        v.setOwner("伯牙");
        v.playTo("子期");

        System.out.println("几千年过去了");
        System.out.println("以前流行 几弦琴?"+ Guzheng.lines);
        Guzheng v2=new Guzheng();
        //v2.lines=13;
        Guzheng.lines=13;//一般通过类名.xxx访问...
        v2.setOwner("陈同学");
        v2.playTo("邻居");
        System.out.println(">>>>>>>>>>>>重大考古发现,找到了伯牙的琴");
        v.playTo("考古学家");
    }
}
